package com.antdesignbackend.backend.configure.dict.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.Data;

/**
 * 字典管理
 *
 * @author 不二
 * @email jack.com
 * @date 2020-07-22 15:52:05
 */

@Data
@TableName(value = "sys_dict")
public class Dict implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId(value = "Id",type = IdType.AUTO)
	private Long id;

	//标签名
	@TableField(value = "name")
	private String name;
	//数据值
	@TableField(value = "value")
	private String value;
	//类型
	@TableField(value = "type")
	private String type;
	//描述
	@TableField(value = "description")
	private String description;
	//排序（升序）
	@TableField(value = "sort")
	private java.math.BigDecimal sort;
	//父级编号
	@TableField(value = "parent_id")
	private Long parent_id;
	//创建者
	@TableField(value = "create_by")
	private Integer create_by;
	//创建时间
	@TableField(value = "create_date")
	private Date create_date;
	//更新者
	@TableField(value = "update_by")
	private Integer update_by;
	//更新时间
	@TableField(value = "update_date")
	private Date update_date;
	//备注信息
	@TableField(value = "remarks")
	private String remarks;
	//删除标记
	@TableField(value = "del_flag")
	private String del_flag;

}
